import React, {Component} from 'react'

import {HashRouter, Route} from 'react-keeper'


import Home from './pages/Home'
import Class_fenlei from './pages/Class_feilei'
import Brand from './pages/Brand'
import Zetianshuo from './pages/Zetianshuo'
import My from './pages/My'
import Login from './pages/Login'

import App from './pages/App'


export default class Routes extends Component {

  //react-keeper

  render() {
    return (
        <HashRouter>
          <Route path="/" component={App}>
            <Route cache index path="/index" component={Home}/>
            <Route cache path="/category" component={Class_fenlei}/>
            <Route cache path="/leather" component={Brand}/>
            <Route cache path="/xiaobian" component={Zetianshuo}/>
            <Route cache path="/me" component={My}/>
          </Route>
        </HashRouter>
    )
  }

}


